/*
 * Copyright (c) Zhongkehonglue Technologies Co., Ltd. 2025. All rights reserved.
 * Description: Implementation of functions related to the time.
 * Author: wangchunyang
 * Create: 2025-05-23
 */
#include <chrono>
#include "dmcTime.h"
#include "dmcApiTypes.h" 

 namespace DlnaDmc {
dmc_int64 GetCurrentTimeSeconds()
{
    auto now = std::chrono::system_clock::now();
    auto now_since_epoch = now.time_since_epoch();
    return std::chrono::duration_cast<std::chrono::seconds>(now_since_epoch).count();
}
}
